GLB-Closures in Directed Acyclic Graphs and Their Applications

نویسندگان

  • Volker Turau
  • Weimin Chen
چکیده

A subset S of the vertices of a directed acyclic graph is called glb-closed, if it contains the greatest lower bounds of all pairs of vertices of S. The glb-closure of S is the smallest glb-closed subset containing S. An eecient output sensitive algorithm for computing glb-closures is presented and two applications in the eld of object-oriented programming languages are discussed. 1 The problem in general Directed acyclic graphs are widely used in diierent areas of computer science. In compiler construction they can be used to identify common subexpressions or to represent type lattices in programming languages supporting subtypes. In the latter case lattice operations for determining least upper bounds or greatest lower bounds are frequently needed. In this paper the notion of closure of a subset of the vertices of a directed acyclic graph is introduced. A subset S of the vertices is called closed if it contains the greatest lower bounds of all pairs of vertices in S, i.e. S is closed with respect to taking greatest lower bounds. In order to avoid confusion with other already existing usages of the notion closure in graph theory (e.g. transitive closure) in this paper the notion glb-closed is used. The glb-closure of a subset S is the intersection of all glb-closed subsets containing S, i.e. the smallest glb-closed subset containing S. Glb-closed subsets have some interesting properties. In this paper an eecient algorithm for computing the glb-closure of a set of vertices is presented. With some preprocessing the glb-closure of a subset S can be computed in time O(e + n) where e is the number of edges in G and n is the number of vertices. Let G = (V; E) be a directed acyclic graph, V denotes the set of vertices and E the set of edges. The following notation is used throughout the paper. Let v 1 ; v 2 2 V then v 1 v 2 if v 1 = v 2 or if there exists a path in G from v 1 to v 2. Furthermore v 1 v 2 if v 1 v 2 and v 1 6 = v 2. In the following the lattice operations GLB and LUB are deened for directed graphs. The deenitions diier from that for lattices. GLB and LUB are sets of vertices ?

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Hierarchical alignment of weighted directed acyclic graphs

In some applications of matching, the structural or hierarchical properties of the two graphs being aligned must be maintained. The hierarchical properties are induced by the direction of the edges in the two directed graphs. These structural relationships defined by the hierarchy in the graphs act as a constraint on the alignment. In this paper, we formalize this problem as the weighted alignm...

متن کامل

Weighted hierarchical alignment of directed acyclic graph

In some applications of matching, the structural or hierarchical properties of the two graphs being aligned must be maintained. The hierarchical properties are induced by the direction of the edges in the two directed graphs. These structural relationships defined by the hierarchy in the graphs act as a constraint on the alignment. In this paper, we formalize the above problem as the weighted a...

متن کامل

Chain Graphs : Interpretations, Expressiveness and Learning Algorithms

Probabilistic graphical models are currently one of the most commonly used architectures for modelling and reasoning with uncertainty. The most widely used subclass of these models is directed acyclic graphs, also known as Bayesian networks, which are used in a wide range of applications both in research and industry. Directed acyclic graphs do, however, have a major limitation, which is that o...

متن کامل

Derivation digraphs for dependencies in ordinal and similarity-based data

We present graph-based method of reasoning with if-then rules describing dependencies between attributes in ordinal and similarity-based data. The rules we consider have two basic interpretations as attribute implications in object-attribute incidence data where objects are allowed to have attributes (features) to degrees and as similarity-based functional dependencies in an extension of the Co...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994